const serverConfig = {
    host: 'localhost',
    port: 10000
}

//数据库连接配置
const mysqlOptions = {
    host: 'localhost',
    dialect: 'mysql', //连接数据类类型
    timezone: '+8:00', //时区
    //数据库连接池
    pool: {
        max: 10,
        min: 0,
        acquire: 10000, //连接超时
        idle: 10000 //闲置时间
    },
    define: {
        timestamps: false
    }
}

module.exports = {
    serverConfig,
    mysqlOptions
}